import req from '@/utils/request'
// 获得所有汽车信息
export const getAllCars = params => req.postJson('/getAllCars', params)
// 预订车辆
export const orderCar = params => req.postJson('/order', params)
// 立即驾驶
export const driving = params => req.postJson('/driving', params)
// 查询到支付的车辆
export const getUnpay = params => req.postJson('/unpay', params)
// 根据id查询车辆
export const getCarById = params => req.postJson('/getCar', params)
